<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        {{name+","+sex+","hobbys[0]+","+hobbys[1]+","hobbys[2]}}

    </div>
    <script src="js/vue.js"></script>

    <script>
        const app = new Vue({
            el: '#app',
            data: {
                hobbys: ['篮球', '足球', '乒乓球', '羽毛球'],
                name: '张三',
                sex: 'man'
            }
        })
    </script>

</body>

</html>